package com.hundred.permission.module.screen;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.citrus.turbine.Context;
import com.alibaba.citrus.turbine.Navigator;

public class CorpLoginProcess {

	@Autowired
    private HttpServletRequest request;
	
	private static final Logger logger = LoggerFactory.getLogger(CorpLoginProcess.class);
	
	private static final String qqOpenApiUrl = "https://graph.qq.com/oauth2.0/authorize?" +
			"response_type=code" +
			"&client_id=" +"100312390" +
			"&redirect_uri=" +"100msm.com/permission/userInfoProcess.htm";
	
	public void execute(Context context, Navigator nav) {
		
		nav.redirectToLocation(qqOpenApiUrl);
		
	}
	
}
